// vite.config.js
import { defineConfig } from "file:///D:/3songshu/workspace/demo/Vue/vue3-project/node_modules/vite/dist/node/index.js";
import vue from "file:///D:/3songshu/workspace/demo/Vue/vue3-project/node_modules/@vitejs/plugin-vue/dist/index.mjs";
var vite_config_default = defineConfig({
  plugins: [vue()],
  server: {
    port: 5173,
    host: "0.0.0.0",
    proxy: {
      "/v1": {
        target: "https://dify.3songshu.com/",
        // target: 'http://192.168.9.192:7001/',
        changeOrigin: true,
        secure: false,
        rewrite: (path) => path.replace(new RegExp("^v1"), "")
      }
    }
  }
});
export {
  vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcuanMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJEOlxcXFwzc29uZ3NodVxcXFx3b3Jrc3BhY2VcXFxcZGVtb1xcXFxWdWVcXFxcdnVlMy1wcm9qZWN0XCI7Y29uc3QgX192aXRlX2luamVjdGVkX29yaWdpbmFsX2ZpbGVuYW1lID0gXCJEOlxcXFwzc29uZ3NodVxcXFx3b3Jrc3BhY2VcXFxcZGVtb1xcXFxWdWVcXFxcdnVlMy1wcm9qZWN0XFxcXHZpdGUuY29uZmlnLmpzXCI7Y29uc3QgX192aXRlX2luamVjdGVkX29yaWdpbmFsX2ltcG9ydF9tZXRhX3VybCA9IFwiZmlsZTovLy9EOi8zc29uZ3NodS93b3Jrc3BhY2UvZGVtby9WdWUvdnVlMy1wcm9qZWN0L3ZpdGUuY29uZmlnLmpzXCI7aW1wb3J0IHsgZGVmaW5lQ29uZmlnIH0gZnJvbSAndml0ZSdcclxuaW1wb3J0IHZ1ZSBmcm9tICdAdml0ZWpzL3BsdWdpbi12dWUnXHJcblxyXG4vLyBodHRwczovL3ZpdGVqcy5kZXYvY29uZmlnL1xyXG5leHBvcnQgZGVmYXVsdCBkZWZ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